home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************
- * *
- * Token-list for the 2nd version of the parser. *
- * *
- * *
- *please do not change this file (Except when your name is *
- * Klaas van Gend) *
- * *
- *==============================================================*
- *ver date Author comment *
- *1 4May91 KvGend created. *
- * 8May91 KvGend OOPS. big bug removed: wasn't terminated*
- *2 2Jun91 KvGend added Assignation, LOOP. *
- *3 17Jul91 KvGend added SKIP, ENDSKIP & DISPLAYMODE. *
- * 23Jul91 KvGend added SHOWNS *
- *4 27Jul91 KvGend It is no longer a header now. *
- ****************************************************************/
-
- /*please, do not change this file*/
- char *tlist[] =
- {
- /* DATA-GROUP*/
- "\x10\x01""DATA\0",
- "\x11\x00""ENDDATA\0",
- "\x12\x10""ANIM\0", /* ** current implementation not correct */
- /* REPEAT-group*/
- "\x20\x01""REPEAT\0",
- "\x21\x00""ENDREPEAT\0",
- "\x22\x00""LOOP\0",
- "\x23\x02""UNTIL\0",
- /* displaygroup*/
- "\x30\x01""LINES\0",
- "\x31\x01""BALLS\0",
- "\x32\x01""WAIT\0",
- /*"\x33\x00""FADE\0", ** not implemented yet */
- "\x34\x01""DISPLAYMODE\0",
- /* debuggingstuff*/
- "\x41\x02""DEBUG\0",
- "\x45\x00""SKIP\0",
- "\x46\x00""ENDSKIP\0",
- /* SHOW-group*/
- "\x51\x02""SHOWNS\0",
- "\x50\x03""SHOW\0",
- "\x52\x00""SPAGES\0",
- /* ANGLE-group*/
- "\x61\x01""ANGLED\0",/* ** don't use!!!*/
- "\x60\x01""ANGLE\0",/* ** don't use!!!*/
- "\x62\x02""MIDDLE\0",
- /* TEXT-group*/
- "\x70\x10""THEADER\0",
- "\x71\x10""TFOOTER\0",
- "\x72\x12""TEXT\0",
- "\x73\x10""T\0",
- /* Change-group*/
- "\x80\x03""CR\0",
- "\x81\x03""CA\0",
- "\x82\x04""CM\0",
- /* Assignation-group */
- "\x90\x01""I:=\0",
- "\x91\x01""J:=\0",
- "\x92\x01""ANG:=\0", /* oops, used to be called "Angle" and "AngleD"*/
- "\x93\x01""DAN:=\0", /* but this is more logical */
-
- /************this must be the last, to terminate ******/
- "\x00\x00""ZZZZZZ\0"
- };
-
- /* EXPLANATION:
- *
- * each entry consists of \x## , \x## , name , \0 .
- *
- * first \x##: token-number.
- * 01-0F : dataline
- * 10-1F : DATA-group.
- * 20-2F : REPEAT-group
- * 30-3F : display-group
- * 40-4f : debuggingstuff
- * 50-5f : SHOW-group
- * 60-6f : ANGLE-group
- * 70-7f : TEXT-group
- * 80-8f : Change-group
- * 90-9f : Assignation-group
- * A0-ff are not used yet.
- * second\x##: uppernibble: number of strings required.
- * lowernibble: number of arguments required.
- * name: commandname. MUST BE IN UPPERCASE.
- * \0: just to end it up.
- *
- * KvGend 02-Jun-91
- */
-